var a = 3
function test() {
    a = 2;
    console.log('func a')   
}
console.log(test())